package com.xiaoyu;

import com.xiaoyu.model.Teacher;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TeacherDao {
    public List<Teacher> findTeacher(Teacher teacher);
    public Integer addTeacher(Teacher teacher);
    public Integer deleteTeacher(Teacher teacher);
    public Integer updateTeacher(Teacher teacher);

    public Teacher findOneTeacher(Teacher teacher);

}
